<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="${ctx}/doEditFoodType/${foodType.typeId}" method="post">
    <table>
        <tr><td>菜系ID:${foodType.typeId}
            <input name="typeId" type="hidden" value="${foodType.typeId}"></td></tr>
        <tr><td><label for="typeName">菜系名称:</label>
            <input id="typeName" type="text" name="typeName" value="${foodType.typeName}"></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="reset" value="重置">
                <input type="submit" value="提交">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
